function getPath(obj) { 
	if(obj) { 
		if(window.navigator.userAgent.indexOf("MSIE")>=1) { 
			obj.select(); 
			return document.selection.createRange().text; 
		} 
		else if(window.navigator.userAgent.indexOf("Firefox")>=1) { 
			if(obj.files) { 
				return obj.files.item(0).getAsDataURL(); 
			} 
			return obj.value; 
		} 
		return obj.value; 
	} 
} 

/**清除FILE**/
function clearFileInput(fl) {
	var form = document.createElement("form");
	document.body.appendChild(form);
	var pos = fl.parentNode;
	form.appendChild(fl);
	form.reset();
	pos.appendChild(fl);
	document.body.removeChild(form);
}